package com.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.AreaBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author RJ
 * @date 2022/9/14 22:14
 */
@Repository
public interface IAreaDao extends BaseMapper<AreaBean> {
    IPage<AreaBean> cutAreaByItem(Page<AreaBean> page, @Param("name") String areaName, @Param("type") String areaForestType, @Param("class") String className);

    List<AreaBean> findArea();
}
